import request from '@/utils/request.js'

export function userLogin(loginName, loginPwd) {
  const data = {
    loginName,
    loginPwd
  };
  return request({
    url: 'index.php/api/common/login',
    methods: 'get',
    dataType: 'json',
    params: data
  })
}
